package com.jasonli.service;

import com.jasonli.domain.Car;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface CarService {
    //    添加购物车
    public boolean save(Car car);

    public boolean update(Car car);

    //    根据购物车chrid删除
    public boolean delete(Integer chrid);

    //    根据顾客cid查询
    public List<Car> getByCid(Integer cid);
}
